// site
import fetch from '../config/fetch'
import { WEIXIN_API_PATH } from '../config/env'

/**
 * 微信分享
 */
export const weixinShare = () => fetch(WEIXIN_API_PATH + '/site/wechat', {
  url: location.href
}, 'POST')
